package com.fyt.ZhongYaoApp.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Hospital {
    private Integer id;
    private String hName;
    private String hMess;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;// 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;// 更新时间

    public Hospital() {
    }

    public Hospital(Integer id, String hName, String hMess, LocalDateTime createTime, LocalDateTime updateTime) {
        this.id = id;
        this.hName = hName;
        this.hMess = hMess;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }




}
